package com.lantosec.hmrp.modules.monitor.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lantosec.hmrp.modules.monitor.entity.ProcessEntity;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface MonitorProcessMapper extends BaseMapper<ProcessEntity> {

    List<ProcessEntity> getProcessTypeTotal(@Param("startTime") String startTime, @Param("endTime") String endTime);

    List<ProcessEntity> getProcessStatusTotal(@Param("startTime") String startTime, @Param("endTime") String endTime);

    ProcessEntity getProcessTotal(@Param("startTime") String startTime, @Param("endTime") String endTime);
}
